﻿namespace LiteGrid.Mvc.ToBeRefactored
{
	/// <summary>
	/// Defines properties that view models must expose if they can be
	/// re-arranged in liteGrid.
	/// </summary>
	/// <typeparam name="TTarget"></typeparam>
	public interface ILiteGridMovableModel<TTarget> : ILiteGridUpdateModel<TTarget>
	{
		/// <summary>
		/// The ID of the new parent or null if no move was performed.
		/// </summary>
		int? NewParentId { get; set; }
	}
}